<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_id" data-rule="required" data-source="goods/index" class="form-control selectpage" name="row[goods_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-image_url" class="form-control" name="row[image_url]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sales_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sales_num" class="form-control" name="row[sales_num]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" class="form-control" step="0.01" name="row[price]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Coupons_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-coupons_price" class="form-control" step="0.01" name="row[coupons_price]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Evaluation')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-evaluation" class="form-control" name="row[evaluation]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sales24_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sales24_num" class="form-control" name="row[sales24_num]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Freight')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-freight" class="form-control" step="0.01" name="row[freight]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Positive_review_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-positive_review_rate" class="form-control" step="0.01" name="row[positive_review_rate]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Listing_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-listing_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[listing_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_name" class="form-control" name="row[shop_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_goods_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_goods_num" class="form-control" name="row[shop_goods_num]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_rating')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_rating" class="form-control" name="row[shop_rating]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cate1_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cate1_id" data-rule="required" data-field="cat_name" data-primary-key="cat_id" data-source="pdd/cate/index" class="form-control selectpage" name="row[cate1_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cate2_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cate2_id" data-rule="required" data-field="cat_name" data-primary-key="cat_id" data-source="pdd/cate/index" class="form-control selectpage" name="row[cate2_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cate3_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cate3_id" data-rule="required" data-field="cat_name" data-primary-key="cat_id" data-source="pdd/cate/index" class="form-control selectpage" name="row[cate3_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cate4_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cate4_id" data-rule="required" data-field="cat_name" data-primary-key="cat_id" data-source="pdd/cate/index" class="form-control selectpage" name="row[cate4_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cate_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cate_name" class="form-control" name="row[cate_name]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
